package cn.meng.base.mapper;

import cn.meng.base.vo.SalaryQueryRequest;
import cn.meng.base.vo.SalaryVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author liululu
 * @description 薪酬管理
 * @date 2021-08-20 10:30
 **/
@Mapper
@Repository
public interface SalaryManageMapper {

    void insertSalary(SalaryVO salaryVO);

    void updateSalary(SalaryVO salaryVO);

    void deleteSalary(SalaryVO salaryVO);

    Integer checkVersion(@Param("pkSalary") String pkSalary);

    List<SalaryVO> selectByCondition(SalaryQueryRequest request);
}
